<!--{template admin/header}-->
<body id="homepage">
    <div id="breadcrumb">
        <ul>
            <li><img src="static/img/icons/icon_breadcrumb.png"
                     alt="Location" /></li>
            <li><strong>位置:</strong></li>
            <li><a href="admin.php">主页</a> - 日记详情</li>
        </ul>
    </div>
    <div id="rightside">
        <div class="contentcontainer">
            <div class="headings altheading">
                <h2>日记详情</h2>
            </div>
            <div class="contentbox">
            	<div style="float:left;">
                <p><img src="{$list[user][avatar]}" width="80"/></p>
                <table>
                    <tr>
                        <td width="148" ><span class="usagetxt darktext">bodyId/id：</span></td>
                        <td width="491">{$list[bodyId]}/{$list[id]}</td>
                    </tr>
                    <tr>
                        <td width="148" ><span class="usagetxt darktext">日记作者昵称：</span></td>
                        <td width="491"><a target="_blank" href="admin.php?ac=user&uid={$list['uid']}">{$list['user']['nickname']}
                            {if $list['user']['is_vip']==0}
                            {else}
                            <img style="width:40px;height:40px;" src="./static/images/vip/vip.png"><img>
                            {/if}
                            {if $list['user']['is_ability']==0}
                            {else}
                            {if $list['user']['ability_level']==1}
                            <img style="width:25px;height:24px;"  src="./static/images/ability/ability_s_1.png"></img>
                            {elseif $list['user']['ability_level']==2}
                            <img  style="width:25px;height:24px;" src="./static/images/ability/ability_s_2.png"></img>
                            {elseif  $list['user']['ability_level']==3}
                            <img  style="width:25px;height:24px;" src="./static/images/ability/ability_s_3.png"></img>
                            {elseif $list['user']['ability_level']==4}
                            <img  style="width:25px;height:24px;" src="./static/images/ability/ability_s_4.png"></img>
                            {elseif $list['user']['ability_level']==5}
                            <img  style="width:25px;height:24px;" src="./static/images/ability/ability_s_5.png"></img>
                            {/if}
                            {/if}
                            {if $list['user']['verified']==0}
                            {else}
                            <img style="width:25px;height:24px;" src="./static/images/vip/v.png"><img>
                            {/if}</a>
                        </td>
                    </tr>
                    <tr>
                        <td width="148" ><span class="usagetxt darktext">日记标题：</span></td>
                        <td width="491">{$list['title']}</td>
                    </tr>
                    <tr>
                        <td><span class="usagetxt darktext">日记内容：</span></td>
                        <td>{$list['content']}</td>
                    </tr>
                    <tr>
                        <td><span class="usagetxt darktext">发布时间：</span></td>
                        <td><!--{date('Y-m-d H:i:s',$list[time])}--></td>
                    </tr>
                    <tr>
                        <td><span class="usagetxt darktext">状态：</span></td>
                        <td>
                        	<!--{if $list[secret]==0}-->
                        	公开
                        	<!--{else}-->
                        	私密
                        	<!--{/if}-->
                        </td>
                    </tr>
                </table>
				</div>
                <div class="extrabottom">
                    	日记bodyId：{$list[bodyId]}，当前数据如下&nbsp; 
                </div>
                <div style=" margin-left: 50px;">
                    <p> <span class="usagetxt darktext">日记查看数：viewTimes={$list['viewTimes']}</span>&nbsp;&nbsp;
                        <span class="usagetxt darktext">日记评论数：commentTimes={$list['commentTimes']}</span></p>
                    <p>   <span class="usagetxt darktext">日记喜欢数：likeTimes={$list['likeTimes']}</span>&nbsp;&nbsp;
                        <span class="usagetxt darktext">日记分享数：shareTimes={$list['shareTimes']}</span></p>
                    <p>  <span class="usagetxt darktext">日记评论人数：commentPeople={$list['commentPeople']}</span>&nbsp;&nbsp;
                        <span class="usagetxt darktext">日记回应数：repostTimes={$list['repostTimes']}</span></p>
                    </p>
                    <p>
                    	<a target="_blank" href="{$_SC['webdomain']}/diary.php?ac=class&op=getDiaryWithComments&bodyId={$list[bodyId]}" style="font-size:30px;"><span class="usagetxt darktext">查看评论</span></a>
                    </p>
                </div>
                <div style="clear: both;"></div>
                <div class="extrabottom">
                <span class="usagetxt darktext" style="float:left;">附件列表:</span>
                	<!--{loop $list[attachmentList] $attach}-->
                		<div class="chePicMin S_bg2 bigcursor" style="float:left;margin-left:5px;">
						<!--{if $attach[attachmentType]==1}-->
                            <a title="" href="http://img.fenfenriji.com{$attach[attachmentPath]}" class="fancybox" data-fancybox-group="group-{$value[id]}">
                                <img alt="" src="http://img.fenfenriji.com{$attach[attachmentPath]}" class="bigcursor" width="200px">
                            </a>
                            <!--{/if}-->
                            <!--{if $attach[attachmentType]==2}-->
                            <audio style="border-radius:50px;width:80px;" preload="auto" controls="">
                                <source src="http://media.fenfenriji.com{$attach[attachmentPath]}"></source>
                            </audio>
                            <!--{/if}-->
                            <!--{if $attach[attachmentType]==3}-->
                            <video width="300" height="300" style="width: 300px;height: 300px;" controls="" name="media">
                                <source src="http://media.fenfenriji.com{$val['attachmentPath']}" type="video/mp4">
                            </video>
                            <!--{/if}-->
						</div>
                	<!--{/loop}-->

                    </div>
                </div>
            </div>
        </div>

    <script>
        $("#passwd").val() 
    </script>
    <!--{template admin/leftside}-->
    <!--{template admin/footer}-->